<?php
declare(strict_types=1);

namespace App\Enums;

class CarnivalEnum
{
    public const SCORE_TYPE_VOTE = 'vote';
    public const SCORE_TYPE_GIFT = 'gift';
    public const FINALLY_ROUND = 6;
    public const FIRST_GIFT_ROUND = 2;//轮次为礼物的第一轮

    public const LOG_TYPE_CHARM = 'carnival_charm';
    public const LOG_TYPE_CHAMPION = 'carnival_champion';
    public const LOG_TYPE_WEALTH = 'carnival_wealth';

    public const LOG_TYPE_NAME = [
        self::LOG_TYPE_CHARM => '魅力榜',
        self::LOG_TYPE_CHAMPION => '新星榜',
        self::LOG_TYPE_WEALTH => '财富榜',
    ];

    public const RECEIVE_STATUS_CAN = 'can';
    public const RECEIVE_STATUS_HAVE = 'have';
    public const RECEIVE_STATUS_NO = 'no';

    #获得奖励的前几名
    public const REWARD_NUM_CHAMPION = 3;
    public const REWARD_NUM_WEALTH = 3;

    //名次 数字对应 中文
    public const CHI_NAME = [ 1 => '一', 2 => '二', 3 => '三'];

    //魅力榜名次
    public const CHARM_RANK_NAME = [
        1 => '决赛 一位',
        2 => '半决赛 两位',
        3 => '二轮 4位',
        4 => '每轮前4位',
        5 => '海选前3名',
    ];

    #实物奖励 展示用 只有新星榜跟财富榜有
    public const REWARD_INFO = [
        1 => [
            'reward_name' => 'iPhone 15 Pro Max 256GB',
            'reward_pic' => 'https://yoyo-pros.oss-cn-hangzhou.aliyuncs.com/image/a490555b091b34b86a1d1b59ca6a396aaee87f17.png',
        ],
        2 => [
            'reward_name' => 'HUAWEI Mate 60 Pro 12GB+256GB【非热门颜色】',
            'reward_pic' => 'https://yoyo-pros.oss-cn-hangzhou.aliyuncs.com/image/42787650e22793e1762b5d3748828ef5dcbfbc62.png',
        ],
        3 => [
            'reward_name' => 'vivo X100 Pro 12GB+256GB',
            'reward_pic' => 'https://yoyo-pros.oss-cn-hangzhou.aliyuncs.com/image/28eb0e5673b2e7cb7a2fa5e9a5852b34566c4a36.png',
        ],
    ];

    //魅力榜的虚拟流量+红包雨奖励  展示用
    public const CHARM_HONGBAORAIN = [
        1 => '超大额红包雨',
        2 => '大额红包雨',
        3 => '中额红包雨'
    ];

    //新星榜返利奖励
    public const CHAMPION_FANLI_REWARD = [
        [
            'reward_name' => '甜味浓情冠名奖励',
            'reward_pic' => 'https://yoyo-pros.oss-cn-hangzhou.aliyuncs.com/image/7a86fe77eb9d140e02a8d4317e17ba10a4110b87.png'
        ],
        [
            'reward_name' => '盛典女心愿瓶名奖励',
            'reward_pic' => 'https://yoyo-pros.oss-cn-hangzhou.aliyuncs.com/image/0f69ec41ad09e27c831a71fe26f3205cdd1f0f9c.png'
        ],
    ];

    //财富榜返利奖励
    public const WEALTH_FANLI_REWARD = [
        [
            'reward_name' => '甜味浓情冠名奖励',
            'reward_pic' => 'https://yoyo-pros.oss-cn-hangzhou.aliyuncs.com/image/7a86fe77eb9d140e02a8d4317e17ba10a4110b87.png'
        ],
        [
            'reward_name' => '荣耀宫殿冠名奖励',
            'reward_pic' => 'https://yoyo-pros.oss-cn-hangzhou.aliyuncs.com/image/561f57fd2f30308a388ec38322136a7e01bc009f.png'
        ],

    ];

    //新星榜返利冠名礼物id
    public const CHAMPION_FANLI_GIFT_IDS = [917, 915];
    //财富榜返利冠名礼物id
    public const WEALTH_FANLI_GIFT_IDS = [917, 916];

}
